package study.kit.uitls;

import cn.hutool.core.io.FileUtil;
import cn.hutool.core.util.StrUtil;
import cn.hutool.json.JSONUtil;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

import java.nio.charset.Charset;

@Slf4j
public class DatacenterUtils {

    private String file = "D:\\idea_workspace\\study\\kit\\study-kit\\study-kit-hutool\\src\\main\\resources\\json.txt";

    @Test
    public void test() {

        String data = FileUtil.readString(file, Charset.defaultCharset());
        log.info("{}", JSONUtil.parse(data).toString());
    }
}
